package day05;

public class Student extends Person{
    int id;
//    String name;
//    String gender;
//    int age;
    String school;
    public Student(){

    }
    public Student(int id, String name){
        this(id, name, null);
    }
    public Student(int id, String name, String gender){
        this(id,name,gender,0);
    }
    public Student(int id, String name, String gender, int age){
        this.id = id;
        this.name = name;
        this.gender = gender;
        this.age = age;
    }
    public String toString(){
        return id+"姓名:"+name+"年龄:"+age+", 性别:"+gender;
    }
}
